<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit">
<title>修改用户密码-大连交通大学在线服务平台</title>
<link href="../css/bootstrap.min.css" rel="stylesheet" />
<link href="../css/font-awesome.min.css" rel="stylesheet" />
<link href="../css/common.css" rel="stylesheet" />
<link href="../images/favicon.ico" rel="shortcut icon" />
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.js"></script>
<script src="../js/bootstrapValidator.min.js"></script>
<script src="../js/language/zh_CN.js"></script>
<script src="../js/common.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		$('#userUpdateForm').bootstrapValidator();
	});
</script>
</head>
<body>
	<div class="center-block-2">
		<div class="list-group">
			<p class="list-group-item active">
				<img src="../images/login.png" width="20px" height="20px" alt="" /> 修改用户密码：
			</p>
			<form action="../index/user_i_pwd_update.do" method="post" id="userUpdateForm" class="form-horizontal"
				data-bv-message="此项为必填项" data-bv-feedbackicons-valid="glyphicon glyphicon-ok"
				data-bv-feedbackicons-invalid="glyphicon glyphicon-remove"
				data-bv-feedbackicons-validating="glyphicon glyphicon-refresh">
				<div class="row" style="margin-left: 10%">
					<div class="form-group">
						<label class="col-md-2 control-label">一卡通卡号：</label>
						<div class="col-md-10">
							<input readonly="readonly" type="text" name="user.uid" value="${user.uid}" class="form-control"
								data-bv-notempty="true" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-md-2 control-label">原密码：</label>
						<div class="col-md-10">
							<input type="password" name="oldpwd"  class="form-control" data-bv-notempty="true" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-md-2 control-label">新密码：</label>
						<div class="col-md-10">
							<input type="password" name="newpwd" class="form-control" data-bv-notempty="true" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-md-2 control-label">确认密码：</label>
						<div class="col-md-10">
							<input type="password" name="repwd" class="form-control" data-bv-notempty="true"
								data-bv-identical="true" data-bv-identical-field="newpwd" data-bv-identical-message="两次密码不相同" />
						</div>
					</div>
					<div class="btn-group">
						<a href="user-info.jsp" class="btn btn-info">返回</a>
						<button type="submit" class="btn btn-success">保存</button>
					</div>
					${u_pwd_update_msg}
				</div>
			</form>
		</div>
	</div>
</body>
</html>